#include <stdio.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "esp_err.h"
#include "user_include.h"

#define WIFI_TASK_PRIO      3
#define LED_TASK_PRIO       0
#define MQTT_TASK_PRIO      4

void app_main(void)
{
    xTaskCreatePinnedToCore(user_wifi_task, "WIFI", 8192, NULL, WIFI_TASK_PRIO, NULL, tskNO_AFFINITY);
    xTaskCreatePinnedToCore(user_led_task, "LED", 8192, NULL, LED_TASK_PRIO, NULL, tskNO_AFFINITY);
    xTaskCreatePinnedToCore(user_mqtt_task, "MQTT", 8192, NULL, MQTT_TASK_PRIO, NULL, tskNO_AFFINITY);
}
